<div class="bs-example">
<?php echo $this->Form->create('User',array('class'=>'form-horizontal')); ?>
<fieldset>
    <legend><?php echo __('Thêm mới tài khoản'); ?></legend>
    <div class="form-group">
           <label for="inputEmail3" class="col-sm-4 control-label "> Họ và tên</label>
           <div class="col-sm-4">
             <input type="text" class="form-control input-sm" name="data[User][fullName]" required >
           </div>
     </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label"> Tài khoản</label>
        <div class="col-sm-4">
          <input type="text" class="form-control input-sm" name="data[User][username]" required >
        </div>
    </div>

    <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label"> Mật khẩu</label>
        <div class="col-sm-4">
          <input type="password" class="form-control input-sm" name="data[User][password]" required >
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label "> Nhóm quyền</label>
        <div class="col-sm-2">         
		<?php 
			    echo $this->Form->input('group_id', array('div'=>'clearfix',  
                'before'=>'<label>'.__('').'</label><div class="input">', 
                'after'=>'</div>','label'=>false, 'class'=>'xlarge',
				'class'=>'form-control input-sm'
				));
		?>
		
        </div>
    </div>
	
	 <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label ">Hội thảo</label>
        <div class="col-sm-2">
         <select class="form-control input-sm" name="data[User][mobile_no]">
                  <?php foreach ($seminars as $key=>$value){?>				  
				  <option value='<?php echo $key?>'><?php echo $value ?></option>
                  <?php } ?>

        </select>
				
        </div>
    </div>
    <div class="form-group">
        <label for="inputEmail3" class="col-sm-4 control-label"> </label>
        <div class="col-sm-4">
            <button type="submit" class="btn btn-primary btn-sm"> Thêm mới</button>
            <?php echo $this->Form->end(); ?>
        </div>
     </div>
</fieldset>

</div>

